<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var i, a, b, c;
			for (i = 100; i < 1000; i++) {
				a = parseInt(i / 100);
				b = parseInt((i - a * 100) / 10);
				c = parseInt(i - a * 100 - b * 10);
				if (a * a * a + b * b * b + c * c * c == i) {
					document.write(i + "<br>");
				}
			}
		</script>
	</body>
</html>
